package Ontology;

/**
 * 
 * @author michael
 * The class presets a structure containing IS-A relation
 *
 */
public class WDTax
{
    private int iClass1ID;			//	Identifier of Parent in WebDESO Class.Parent_ID
    private int iClass2ID;			//	Identifier of Child in WebDESO: Class.ID

    public WDTax( int iiClass1ID, int iiClass2ID )
    {
    	iClass1ID = iiClass1ID;
    	iClass2ID = iiClass2ID;
    }

    public String toString() 
    {
        return "Class1ID: " + iClass1ID + "; Class2ID: " + iClass2ID ;
    }
    public int getParentID() 
    {
        return iClass1ID;
    }
    public int getChildID() 
    {
        return iClass2ID;
    }
}